﻿using HDSmartCommunity.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace HDSmartCommunity.DAL
{
    public class MqttDAL
    {
        public MqttInfo GetMqttInfo()
        {
            string strSql = "SELECT * FROM mqtt_info where ID=1";

            CommFN<MqttInfo> fn = new CommFN<MqttInfo>();
            return fn.GetData(strSql);
        }
    }
}
